package cn.zl.web.filter;

import cn.yunbamboos.rest.service.RestServiceExchange;
import cn.yunbamboos.rest.service.filter.FilterChain;
import cn.yunbamboos.rest.service.filter.RestServiceFilter;
import org.springframework.stereotype.Component;

@Component
public class WebRestServiceAfterFilter implements RestServiceFilter {
    @Override
    public int order() {
        return 1;
    }

    @Override
    public void filter(RestServiceExchange exchange, FilterChain chain) {
        chain.filter(exchange);
    }
}